// 
// 
var href = location.href;
if (href.indexOf("continue") == -1) {
    if (href.indexOf("?") != -1) {
        href += "&continue=null";
    } else {
        href += "?continue=null";
    }
    location.href = href;
}


window.addEventListener("DOMContentLoaded", function () {
    var a = document.getElementsByTagName("a");
    var img = document.getElementsByTagName("img");
    // console.log('a', a);
    // console.log('img', img);
    for (let item of a) {
        href = item.href;
        if (href.indexOf("continue") != -1) continue;
        if (href.indexOf("?") != -1) {
            href += "&continue=null";
        } else {
            href += "?continue=null";
        }
        item.href = href;
        // console.log('item', item);
    }
    for (let item of img) {
        href = item.src;
        if (href.indexOf("continue") != -1) continue;
        if (href.indexOf("?") != -1) {
            href += "&continue=null";
        } else {
            href += "?continue=null";
        }
        item.src = href;
        // console.log('item', item);
    }
})

window.addEventListener("load", function () {
    var a = document.getElementsByTagName("a");
    var img = document.getElementsByTagName("img");
    // console.log('a', a);
    // console.log('img', img);
    for (let item of a) {
        href = item.href;
        if (href.indexOf("continue") != -1) continue;
        if (href.indexOf("?") != -1) {
            href += "&continue=null";
        } else {
            href += "?continue=null";
        }
        item.href = href;
        // console.log('item', item);
    }
    for (let item of img) {
        href = item.src;
        if (href.indexOf("continue") != -1) continue;
        if (href.indexOf("?") != -1) {
            href += "&continue=null";
        } else {
            href += "?continue=null";
        }
        item.src = href;
        // console.log('item', item);
    }
})